package cn.mesmile.activity.config;

import org.activiti.spring.SpringProcessEngineConfiguration;
import org.activiti.spring.boot.ProcessEngineConfigurationConfigurer;
import org.springframework.context.annotation.Configuration;


/**
 * @author zb
 * @date 2022/1/5 15:05
 * @Description activity配置
 */
@Configuration
public class WfProcessEngineConfig implements ProcessEngineConfigurationConfigurer {

	@Override
	public void configure(SpringProcessEngineConfiguration springProcessEngineConfiguration) {
		springProcessEngineConfiguration.setActivityBehaviorFactory(new WfActivityBehaviorFactory());
	}

}